home *** CD-ROM | disk | FTP | other *** search
/ Reaching the Stars & Bey…Images of NASA Collection / Reaching the Stars and Beyond: Images of NASA Collection.iso / install.bat next >
DOS Batch File  |  1993-10-01  |  17KB  |  343 lines

  1. ECHO OFF
  2. CLS
  3. IF %1 !==! GOTO INSTR
  4. IF %1==1 GOTO GETDRIVE
  5. IF %1==2 GOTO GETDRIVE
  6. IF %1==3 GOTO GETDRIVE
  7. IF %1==4 GOTO GETDRIVE
  8. IF %1==5 GOTO GETDRIVE
  9. IF %1==6 GOTO GETDRIVE
  10. GOTO INSTR
  11. :GETDRIVE
  12. IF %2 !==! GOTO INSTR
  13. IF %2==C: GOTO FINDFILE
  14. IF %2==c: GOTO FINDFILE
  15. IF %2==D: GOTO FINDFILE
  16. IF %2==d: GOTO FINDFILE
  17. IF %2==E: GOTO FINDFILE
  18. IF %2==e: GOTO FINDFILE
  19. IF %2==F: GOTO FINDFILE
  20. IF %2==f: GOTO FINDFILE
  21. IF %2==G: GOTO FINDFILE
  22. IF %2==g: GOTO FINDFILE
  23. IF %2==H: GOTO FINDFILE
  24. IF %2==h: GOTO FINDFILE
  25. IF %2==I: GOTO FINDFILE
  26. IF %2==i: GOTO FINDFILE
  27. IF %2==J: GOTO FINDFILE
  28. IF %2==j: GOTO FINDFILE
  29. IF %2==K: GOTO FINDFILE
  30. IF %2==k: GOTO FINDFILE
  31. IF %2==L: GOTO FINDFILE
  32. IF %2==l: GOTO FINDFILE
  33. IF %2==M: GOTO FINDFILE
  34. IF %2==m: GOTO FINDFILE
  35. IF %2==N: GOTO FINDFILE
  36. IF %2==n: GOTO FINDFILE
  37. IF %2==O: GOTO FINDFILE
  38. IF %2==o: GOTO FINDFILE
  39. IF %2==P: GOTO FINDFILE
  40. IF %2==p: GOTO FINDFILE
  41. IF %2==Q: GOTO FINDFILE
  42. IF %2==q: GOTO FINDFILE
  43. IF %2==R: GOTO FINDFILE
  44. IF %2==r: GOTO FINDFILE
  45. IF %2==S: GOTO FINDFILE
  46. IF %2==s: GOTO FINDFILE
  47. IF %2==T: GOTO FINDFILE
  48. IF %2==t: GOTO FINDFILE
  49. IF %2==U: GOTO FINDFILE
  50. IF %2==u: GOTO FINDFILE
  51. IF %2==V: GOTO FINDFILE
  52. IF %2==v: GOTO FINDFILE
  53. IF %2==W: GOTO FINDFILE
  54. IF %2==w: GOTO FINDFILE
  55. IF %2==X: GOTO FINDFILE
  56. IF %2==x: GOTO FINDFILE
  57. IF %2==Y: GOTO FINDFILE
  58. IF %2==y: GOTO FINDFILE
  59. IF %2==Z: GOTO FINDFILE
  60. IF %2==z: GOTO FINDFILE
  61. GOTO INSTR
  62. :FINDFILE
  63. IF EXIST VIEWGIF1.BAT GOTO INSTALL
  64. :INSTR
  65. echo.
  66. echo      ╔═══════════════════════════════════════════════════════════════════╗
  67. echo      ║                                                                   ║
  68. echo      ║  To install the file viewers from the CD-ROM to your hard drive,  ║
  69. echo      ║  change to the CD-ROM drive, and at the DOS prompt, type:         ║
  70. echo      ║                                                                   ║
  71. echo      ║  INSTALL n C:                                                     ║
  72. echo      ║                                                                   ║
  73. echo      ║  then press {ENTER}.  In place of the letter n put the number of  ║
  74. echo      ║  the program you wish to install.  (See the file README.DOC for   ║
  75. echo      ║  more detailed instructions.)  If you wish to install to a drive  ║
  76. echo      ║  other than C: specify that drive instead.  You may also specify  ║
  77. echo      ║  a subdirectory.                                                  ║
  78. echo      ║                              ╔═════╤══════════════════╤═══════════╣
  79. echo      ║  For instance:               ║  n= │  to install      │  for      ║
  80. echo      ║                              ╟─────┼──────────────────┼───────────╢
  81. echo      ║  INSTALL 1 D: CSSHOW         ║  1  │  GIFwiz          │  DOS      ║
  82. echo      ║                              ║  2  │  CompuShow       │  DOS      ║
  83. echo      ║  or                          ║  3  │  VPIC vers. 5.1  │  DOS      ║
  84. echo      ║                              ║  4  │  VPIC vers. 6.0  │  DOS      ║
  85. echo      ║  INSTALL 2 E: YOURDIR        ║  5  │  Paint Shop Pro  │  Windows  ║
  86. echo      ║                              ║  6  │  WinGIF          │  Windows  ║
  87. echo      ╚══════════════════════════════╩═════╧══════════════════╧═══════════╝
  88. echo.
  89. GOTO END
  90. :INSTALL
  91. echo.
  92. echo      ╔═══════════════════════════════════════════════════════════════════╗
  93. echo      ║                                                                   ║
  94. echo      ║                                                                   ║
  95. echo      ║                                                                   ║
  96. echo      ║                                                                   ║
  97. echo      ║                                                                   ║
  98. echo      ║                                                                   ║
  99. echo      ║                                                                   ║
  100. echo      ║      Thank you for purchasing...                                  ║
  101. echo      ║                                                                   ║
  102. echo      ║                   Reaching the Stars and Beyond:                  ║
  103. echo      ║                    "Images of NASA" Collection                    ║
  104. echo      ║                                                                   ║
  105. echo      ║                                                                   ║
  106. echo      ║                                                                   ║
  107. echo      ║                                                                   ║
  108. echo      ║                                                                   ║
  109. echo      ║                                                                   ║
  110. echo      ║                                                                   ║
  111. echo      ║                                                                   ║
  112. echo      ╚═══════════════════════════════════════════════════════════════════╝
  113. echo.
  114. pause
  115. cls
  116. IF %3 !==! GOTO DEFAULTDIR
  117. IF EXIST %2\%3\NUL GOTO UNZIPN
  118. MD %2\%3
  119. GOTO UNZIPN
  120. :DEFAULTDIR
  121. IF EXIST %2\VIEWERS\NUL GOTO UNZIPN
  122. MD %2\VIEWERS
  123. :UNZIPN
  124. IF %1==1 GOTO PROGRAM1
  125. IF %1==2 GOTO PROGRAM2
  126. IF %1==3 GOTO PROGRAM3
  127. IF %1==4 GOTO PROGRAM4
  128. IF %1==5 GOTO PROGRAM5
  129. IF %1==6 GOTO PROGRAM6
  130. :PROGRAM1
  131. IF %3 !==! GOTO ALT1
  132. \PKZIP\PKUNZIP \VIEWGIF\GIFWIZ %2\%3
  133. GOTO LOGDIR
  134. :ALT1
  135. \PKZIP\PKUNZIP \VIEWGIF\GIFWIZ %2\VIEWERS
  136. GOTO LOGDIR
  137. :PROGRAM2
  138. IF %3 !==! GOTO ALT2
  139. \PKZIP\PKUNZIP \VIEWERS\CSHW850A %2\%3
  140. GOTO LOGDIR
  141. :ALT2
  142. \PKZIP\PKUNZIP \VIEWERS\CSHW850A %2\VIEWERS
  143. GOTO LOGDIR
  144. :PROGRAM3
  145. IF %3 !==! GOTO ALT3
  146. \PKZIP\PKUNZIP \VIEWERS\VPIC51 %2\%3
  147. GOTO LOGDIR
  148. :ALT3
  149. \PKZIP\PKUNZIP \VIEWERS\VPIC51 %2\VIEWERS
  150. GOTO LOGDIR
  151. :PROGRAM4
  152. IF %3 !==! GOTO ALT4
  153. \PKZIP\PKUNZIP \VIEWERS\VPIC60 %2\%3
  154. GOTO LOGDIR
  155. :ALT4
  156. \PKZIP\PKUNZIP \VIEWERS\VPIC60 %2\VIEWERS
  157. GOTO LOGDIR
  158. :PROGRAM5
  159. IF %3 !==! GOTO ALT5
  160. \PKZIP\PKUNZIP \VIEWERS\PSPRO102 %2\%3
  161. GOTO LOGDIR
  162. :ALT5
  163. \PKZIP\PKUNZIP \VIEWERS\PSPRO102 %2\VIEWERS
  164. GOTO LOGDIR
  165. :PROGRAM6
  166. IF %3 !==! GOTO ALT6
  167. \PKZIP\PKUNZIP \VIEWERS\WINGIF14 %2\%3
  168. GOTO LOGDIR
  169. :ALT6
  170. \PKZIP\PKUNZIP \VIEWERS\WINGIF14 %2\VIEWERS
  171. :LOGDIR
  172. %2
  173. CD\
  174. IF %3 !==! GOTO LOGDEFAULTDIR
  175. CD \%3
  176. GOTO READEM
  177. :LOGDEFAULTDIR
  178. CD \VIEWERS
  179. :READEM
  180. CLS
  181. IF %1==1 GOTO READ1
  182. IF %1==2 GOTO READ2
  183. IF %1==3 GOTO READ3
  184. IF %1==4 GOTO READ4
  185. IF %1==5 GOTO READ5
  186. IF %1==6 GOTO READ6
  187. :READ1
  188. echo.
  189. echo      ╔═══════════════════════════════════════════════════════════════════╗
  190. echo      ║                                                                   ║
  191. echo      ║                                                                   ║
  192. echo      ║                                                                   ║
  193. echo      ║    GIFwiz has been installed.                                     ║
  194. echo      ║                                                                   ║
  195. echo      ║    Read the file GIFWIZ.DOC for information about the program.    ║
  196. echo      ║                                                                   ║
  197. echo      ║                                                                   ║
  198. echo      ║                                                                   ║
  199. echo      ║                                                                   ║
  200. echo      ║                                                                   ║
  201. echo      ║                                                                   ║
  202. echo      ║                                                                   ║
  203. echo      ║    Thank you for purchasing...                                    ║
  204. echo      ║                                                                   ║
  205. echo      ║                   Reaching the Stars and Beyond:                  ║
  206. echo      ║                    "Images of NASA" Collection                    ║
  207. echo      ║                                                                   ║
  208. echo      ║                                                                   ║
  209. echo      ║                                                                   ║
  210. echo      ╚═══════════════════════════════════════════════════════════════════╝
  211. echo.
  212. GOTO END
  213. :READ2
  214. echo.
  215. echo      ╔═══════════════════════════════════════════════════════════════════╗
  216. echo      ║                                                                   ║
  217. echo      ║                                                                   ║
  218. echo      ║                                                                   ║
  219. echo      ║    CompuShow has been installed.                                  ║
  220. echo      ║                                                                   ║
  221. echo      ║    Read the file CSHOW.DOC for information about the program.     ║
  222. echo      ║                                                                   ║
  223. echo      ║                                                                   ║
  224. echo      ║                                                                   ║
  225. echo      ║                                                                   ║
  226. echo      ║                                                                   ║
  227. echo      ║                                                                   ║
  228. echo      ║                                                                   ║
  229. echo      ║    Thank you for purchasing...                                    ║
  230. echo      ║                                                                   ║
  231. echo      ║                   Reaching the Stars and Beyond:                  ║
  232. echo      ║                    "Images of NASA" Collection                    ║
  233. echo      ║                                                                   ║
  234. echo      ║                                                                   ║
  235. echo      ║                                                                   ║
  236. echo      ╚═══════════════════════════════════════════════════════════════════╝
  237. echo.
  238. GOTO END
  239. :READ3
  240. echo.
  241. echo      ╔═══════════════════════════════════════════════════════════════════╗
  242. echo      ║                                                                   ║
  243. echo      ║                                                                   ║
  244. echo      ║                                                                   ║
  245. echo      ║    VPIC (vers. 5.1) has been installed.                           ║
  246. echo      ║                                                                   ║
  247. echo      ║    Read the file README.1ST for information about the program.    ║
  248. echo      ║                                                                   ║
  249. echo      ║                                                                   ║
  250. echo      ║                                                                   ║
  251. echo      ║                                                                   ║
  252. echo      ║                                                                   ║
  253. echo      ║                                                                   ║
  254. echo      ║                                                                   ║
  255. echo      ║    Thank you for purchasing...                                    ║
  256. echo      ║                                                                   ║
  257. echo      ║                   Reaching the Stars and Beyond:                  ║
  258. echo      ║                    "Images of NASA" Collection                    ║
  259. echo      ║                                                                   ║
  260. echo      ║                                                                   ║
  261. echo      ║                                                                   ║
  262. echo      ╚═══════════════════════════════════════════════════════════════════╝
  263. echo.
  264. GOTO END
  265. :READ4
  266. echo.
  267. echo      ╔═══════════════════════════════════════════════════════════════════╗
  268. echo      ║                                                                   ║
  269. echo      ║                                                                   ║
  270. echo      ║                                                                   ║
  271. echo      ║    VPIC (vers. 6.0c) has been installed.                          ║
  272. echo      ║                                                                   ║
  273. echo      ║    Read the file README.1ST for information about the program.    ║
  274. echo      ║                                                                   ║
  275. echo      ║                                                                   ║
  276. echo      ║                                                                   ║
  277. echo      ║                                                                   ║
  278. echo      ║                                                                   ║
  279. echo      ║                                                                   ║
  280. echo      ║                                                                   ║
  281. echo      ║    Thank you for purchasing...                                    ║
  282. echo      ║                                                                   ║
  283. echo      ║                   Reaching the Stars and Beyond:                  ║
  284. echo      ║                    "Images of NASA" Collection                    ║
  285. echo      ║                                                                   ║
  286. echo      ║                                                                   ║
  287. echo      ║                                                                   ║
  288. echo      ╚═══════════════════════════════════════════════════════════════════╝
  289. echo.
  290. GOTO END
  291. :READ5
  292. echo.
  293. echo      ╔═══════════════════════════════════════════════════════════════════╗
  294. echo      ║                                                                   ║
  295. echo      ║                                                                   ║
  296. echo      ║                                                                   ║
  297. echo      ║    Paint Shop Pro has been placed on your hard drive.  You        ║
  298. echo      ║    will now need to install it within Windows.                    ║
  299. echo      ║                                                                   ║
  300. echo      ║    Read the file README.TXT for information about the program.    ║
  301. echo      ║                                                                   ║
  302. echo      ║                                                                   ║
  303. echo      ║                                                                   ║
  304. echo      ║                                                                   ║
  305. echo      ║                                                                   ║
  306. echo      ║                                                                   ║
  307. echo      ║    Thank you for purchasing...                                    ║
  308. echo      ║                                                                   ║
  309. echo      ║                   Reaching the Stars and Beyond:                  ║
  310. echo      ║                    "Images of NASA" Collection                    ║
  311. echo      ║                                                                   ║
  312. echo      ║                                                                   ║
  313. echo      ║                                                                   ║
  314. echo      ╚═══════════════════════════════════════════════════════════════════╝
  315. echo.
  316. GOTO END
  317. :READ6
  318. echo.
  319. echo      ╔═══════════════════════════════════════════════════════════════════╗
  320. echo      ║                                                                   ║
  321. echo      ║                                                                   ║
  322. echo      ║                                                                   ║
  323. echo      ║    WinGIF has been placed on your hard drive.  You will now       ║
  324. echo      ║    need to install it within Windows.                             ║
  325. echo      ║                                                                   ║
  326. echo      ║    Read the file WINGIF.TXT for information about the program.    ║
  327. echo      ║                                                                   ║
  328. echo      ║                                                                   ║
  329. echo      ║                                                                   ║
  330. echo      ║                                                                   ║
  331. echo      ║                                                                   ║
  332. echo      ║                                                                   ║
  333. echo      ║    Thank you for purchasing...                                    ║
  334. echo      ║                                                                   ║
  335. echo      ║                   Reaching the Stars and Beyond:                  ║
  336. echo      ║                    "Images of NASA" Collection                    ║
  337. echo      ║                                                                   ║
  338. echo      ║                                                                   ║
  339. echo      ║                                                                   ║
  340. echo      ╚═══════════════════════════════════════════════════════════════════╝
  341. echo.
  342. :END
  343.